from rest_framework.serializers import ModelSerializer
from myapp.models import *


class TeacherModelSerializer(ModelSerializer):
    class Mate:
        model = Teacher
        fields = '__all__'


class StudentModelSerializer(ModelSerializer):
    class Mate:
        model = Student
        fields = '__all__'
